<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>Hello World!</h1>

<a href="hello">相对路径</a>
<a href="/hello">绝对路径1</a>
<a href="http://localhost:8080/hello">相对路径2</a>

<h1>通过from表单发请求</h1>
<form action="/hello">
    <input type="text" name="info">
    <input type="submit">
</form>

<h1>通过form表单发请求</h1>
<form action="/reg">
    <input type="text" name="username" placeholder="用户名">
    <input type="text" name="password" placeholder="密码">
    <input type="text" name="nick" placeholder="昵称">
    <input type="text" name="age" placeholder="年龄">
    <input type="submit">
</form>

<a href="bmi.html"><h1>身体质量指数检测</h1></a>
</body>
</html>